.wraper {
    background-size: cover;
    background-repeat: no-repeat;

    &.dark {
        --subtitle-color: #3333331a;
        --title-color: #333;
    }

    &.light {
        --subtitle-color: #ffffff1a;
        --title-color: #fff;
    }
}

.campus-box {
    @apply  flex flex-col items-center justify-center ;

    color: var(--title-color)
}

.mobile.wraper {
    .campus-box {
        @apply overflow-hidden p-4;
        
        .campus-map{
            width: 100%;
            aspect-ratio: 343/200;
            border-bottom: 1px solid #EEE;
        }

        .campus-list{
            @apply flex flex-col w-full mt-2;

            .campus-list-detail{
                @apply flex flex-col w-full;
            }

            .campus-info:last-child{
                border: none;
            }

            .campus-info{
                @apply flex flex-row items-start justify-between py-4;

                border-bottom: 1px solid #EEE;

                .icon-local{
                    font-size: 18px;
                    line-height: 18px;
                    color: var(--design-theme-color);
                }

                .icon-nav{
                    font-size: 32px;
                    line-height: 32px;
                    color: var(--design-theme-color);
                }

                .info-text{
                    @apply flex flex-col gap-5px;

                    margin-left: 7px;
                    margin-right: 14px;
                    flex: 1;
                    width: calc(100% - 72px);
                    
                    .text-title,
                    .text-desc{
                        width: 100%;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }

                    .text-title{
                        font-size: 16px;
                        font-weight: 600;
                        line-height: 16px;
                    }

                    .text-desc{
                        font-size: 12px;
                        font-weight: 400;
                        color: #636363;
                    }
                }
            }
        }

        .more{
            @apply py-2.5 text-center cursor-pointer text-xs leading-3;

            width: 128px;
            flex-shrink: 0;
            border-radius: 4px;
            border: 1px solid var(--design-theme-color);
            color: var(--design-theme-color);
        }

    }
}

.pc.wraper {
    .campus-box {
        @apply overflow-hidden max-w-1180px mx-auto mt-10 mb-100px gap-30px;
        
        .campus-map{
            width: 100%;
            aspect-ratio: 1180/540;
            border-bottom: 1px solid #EEE;
        }

        .campus-list{
            @apply flex flex-row w-full items-center justify-between gap-95px;

            .campus-list-detail{
                @apply flex flex-row flex-1 gap-5;

                .campus-select{
                    position: relative;
                    

                   .campus-select-icon{
                    font-size: 20px;
                    line-height: 20px;
                    color: #999;
                    position: absolute;
                    top: 15px;
                    left: 16px;
                   }

                   .arrow-icon{
                    position: absolute;
                    top: 16px;
                    right: 16px;
                    font-size: 20px;
                    line-height: 20px;
                    color: #999;
                    transform: rotate(90deg);
                }
                
                    select{
                        padding: 0 5px 0 44px;
                        background: #F5F5F5;
                        border-radius: 4px;
                        appearance: none; /* 隐藏默认箭头 */
                        appearance: none; /* 隐藏默认箭头 */
                        appearance: none; /* 隐藏默认箭头 */
                        padding-right: 20px; /* 确保有足够的空间放置自定义箭头 */
                        color: #757575;
                        width: 180px;
                        height: 100% !important;
                        border: none;
                        outline: none;
                    }
                }
            }

            .campus-info{
                @apply flex flex-row justify-center items-center;

                width: 180px;

                .info-text{
                    border-radius: 4px;
                    border: 1px solid #DDD;

                    @apply flex justify-center items-center gap-5px py-13px cursor-pointer px-5;

                    flex: 1;
                    width: calc(100% - 72px);
                    
                    .text-title{
                        width: 100%;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        font-size: 16px;
                        font-weight: 400;
                        line-height: 24px;
                        text-align: center;
                    }
                }

                .cur-teachs,
                .info-text:hover{
                    border-color: var(--design-theme-color);
                    color: var(--design-theme-color);
                    
                }

                .cur-teachs{
                    background: var(--design-theme-color);   
                }
            }

            .campus-info:hover{
                @apply flex flex-row justify-center items-center;

                border-color: var(--design-theme-color);
                color: var(--design-theme-color)
                
            }
        }

        .more{
            @apply cursor-pointer text-xs leading-6;

            color: var(--design-theme-color);
        }

    }
}
